package com.monkey4cloud.study.webfluxdemo001.service;

import com.monkey4cloud.study.webfluxdemo001.model.MyUser;
import reactor.core.publisher.Flux;
import reactor.core.publisher.Mono;

public interface MyUserService {
    Flux<MyUser> findAll();

    Mono<MyUser> findByUsername(String username);

    Mono<MyUser> save(MyUser user);

    Mono<Void> deleteById(Long id);
}
